package com.liming.model;

//一条购物车记录
public class CartGoods {
	private int userid;
	private int goodsid;
	private int goodsnum;
	private String goodsdetial;
	
	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}

	public int getGoodsnum() {
		return goodsnum;
	}

	public void setGoodsnum(int goodsnum) {
		this.goodsnum = goodsnum;
	}

	public String getGoodsdetial() {
		return goodsdetial;
	}

	public void setGoodsdetial(String goodsdetial) {
		this.goodsdetial = goodsdetial;
	}

	public CartGoods(int userid, int goodsid, int goodsnum) {
		this.userid=userid;
		this.goodsid=goodsid;
		this.goodsnum=goodsnum;
	}
	
	public CartGoods(int userid, int goodsid, int goodsnum, String goodsdetial) {
		this.userid = userid;
		this.goodsid = goodsid;
		this.goodsnum = goodsnum;
		this.goodsdetial = goodsdetial;
	}
	
	

}
